<template>
  <div class="app-main-container">
    <el-tabs v-model="activeTab">
      <el-tab-pane :label="$t('message.offgl')" name="0"><CoursesList v-if="activeTab === '0'" :meta="meta" @changeTabs="changeTabs" /></el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import CoursesList from './tabs/coursesList'
export default {
  name: 'IndividualLessonList',
  components: {
    CoursesList
  },
  data() {
    return {
      activeTab: '0',
      meta: []
    }
  },
  created() {
    this.meta = this.$route.meta.buttons || []
  },
  methods: {
    changeTabs(val) {
      // this.activeTab = val
    }
  }

}
</script>

<style lang="scss" scoped>

</style>
